package com.enjoyread.core.service.intf;

import com.enjoyread.common.vo.R;
import com.enjoyread.core.dto.UserDetailUpdateDto;
import com.enjoyread.core.entity.UserDetail;
import org.springframework.stereotype.Service;


public interface UserDetailService {
    //改头像
    R updateHead(int uid, String headurl);
    //修改个人信息
    R update(int uid, UserDetailUpdateDto dto);
    //展示资料
    UserDetail queryByUid(int uid);
}
